/*
 * WantToBuyDetailOffer.java
 * business
 *
 * Created by chentao on 2017/5/12.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/**
 * 个人中心-求购详情-报价信息
 * <p>
 * Created by ChenTao(chentao7v@gmail.com) on 2017/5/12 0012 16:00
 */
public class MyAskToBuyDetailOfferHolder extends ViewHolder {

    public ImageView mIvAvatar;
    public TextView mTvShopName;
    public TextView mTvTip;
    public TextView mTvPhone;
    public TextView mTvGoodsPrice;
    public TextView mTvLogisticsPrice;
    public TextView mTvAccept;
    @Override
    protected void initView(View rootView) {
        mTvGoodsPrice = (TextView) rootView.findViewById(R.id.tv_goods_price);
        mTvLogisticsPrice = (TextView) rootView.findViewById(R.id.tv_logistics_price);
        mTvAccept = (TextView) rootView.findViewById(R.id.tv_accept);
        mIvAvatar = (ImageView) rootView.findViewById(R.id.iv_avatar);
        mTvShopName = (TextView) rootView.findViewById(R.id.tv_shop_name);
        mTvTip = (TextView) rootView.findViewById(R.id.tv_tip);
        mTvPhone = (TextView) rootView.findViewById(R.id.tv_phone);

    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_my_ask_to_buy_detail_offer;
    }
}
